package com.spark.laboratory.service.impl;

import com.spark.laboratory.mapper.IntroduceStepMapper;
import com.spark.laboratory.pojo.IntroduceStep;
import com.spark.laboratory.service.IntroduceStepService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IntroduceStepServiceImpl implements IntroduceStepService {

    private final IntroduceStepMapper introduceStepMapper;

    @Autowired
    public IntroduceStepServiceImpl(IntroduceStepMapper introduceStepMapper) {
        this.introduceStepMapper = introduceStepMapper;
    }

    @Override
    public List<IntroduceStep> queryAllData() {
        return introduceStepMapper.selectAllData();
    }
}
